<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<tiles:insert page="/general/templateLoggedIn.jsp">
	<tiles:put name="title" value="Applicants"/>
	<tiles:put name="nav"/>
	<tiles:put name="content" type="string">

		<h2>Applicants</h2>
		
		<table class="border">
			<tr>
				<th>
					First Name
				</th>
				<th>
					Name
				</th>
				<th>
					Mail
				</th>
			</tr>
			<c:forEach var="applicant" items="${requestScope.users}">
				<tr class="evenHover">
					<td>
						${applicant.firstName}
					</td>
					<td>
						${applicant.name}
					</td>
					<td>
						${applicant.mail}
					</td>
			</c:forEach>
		</table>
		
	</tiles:put>
</tiles:insert>	